package com.messe.base.models;

import java.sql.Timestamp;
import java.util.HashSet;
import java.util.Set;


/**
 * Productcategory entity. @author MyEclipse Persistence Tools
 */

public class Productcategory  implements java.io.Serializable {


    // Fields    

     /**
	 * 
	 */
	private static final long serialVersionUID = -3015689216987865674L;
	private String productcategoryId;
     private String parentId;
     private Integer sortNum;
     private Timestamp lastUpdatedStamp;
     private Timestamp createdStamp;
     private Set exhibitionVisitorProdctgRels = new HashSet(0);
     private Set orgProductctgRels = new HashSet(0);
     private Set productcategoryAppendixes = new HashSet(0);
     private Set exhibitionProductcategoryRels = new HashSet(0);


    // Constructors

    /** default constructor */
    public Productcategory() {
    }

	/** minimal constructor */
    public Productcategory(String productcategoryId, Timestamp lastUpdatedStamp, Timestamp createdStamp) {
        this.productcategoryId = productcategoryId;
        this.lastUpdatedStamp = lastUpdatedStamp;
        this.createdStamp = createdStamp;
    }
    
    /** full constructor */
    public Productcategory(String productcategoryId, String parentId, Integer sortNum, Timestamp lastUpdatedStamp, Timestamp createdStamp, Set exhibitionVisitorProdctgRels, Set orgProductctgRels, Set productcategoryAppendixes, Set exhibitionProductcategoryRels) {
        this.productcategoryId = productcategoryId;
        this.parentId = parentId;
        this.sortNum = sortNum;
        this.lastUpdatedStamp = lastUpdatedStamp;
        this.createdStamp = createdStamp;
        this.exhibitionVisitorProdctgRels = exhibitionVisitorProdctgRels;
        this.orgProductctgRels = orgProductctgRels;
        this.productcategoryAppendixes = productcategoryAppendixes;
        this.exhibitionProductcategoryRels = exhibitionProductcategoryRels;
    }

   
    // Property accessors

    public String getProductcategoryId() {
        return this.productcategoryId;
    }
    
    public void setProductcategoryId(String productcategoryId) {
        this.productcategoryId = productcategoryId;
    }

    public String getParentId() {
        return this.parentId;
    }
    
    public void setParentId(String parentId) {
        this.parentId = parentId;
    }

    public Integer getSortNum() {
        return this.sortNum;
    }
    
    public void setSortNum(Integer sortNum) {
        this.sortNum = sortNum;
    }

    public Timestamp getLastUpdatedStamp() {
        return this.lastUpdatedStamp;
    }
    
    public void setLastUpdatedStamp(Timestamp lastUpdatedStamp) {
        this.lastUpdatedStamp = lastUpdatedStamp;
    }

    public Timestamp getCreatedStamp() {
        return this.createdStamp;
    }
    
    public void setCreatedStamp(Timestamp createdStamp) {
        this.createdStamp = createdStamp;
    }

    public Set getExhibitionVisitorProdctgRels() {
        return this.exhibitionVisitorProdctgRels;
    }
    
    public void setExhibitionVisitorProdctgRels(Set exhibitionVisitorProdctgRels) {
        this.exhibitionVisitorProdctgRels = exhibitionVisitorProdctgRels;
    }

    public Set getOrgProductctgRels() {
        return this.orgProductctgRels;
    }
    
    public void setOrgProductctgRels(Set orgProductctgRels) {
        this.orgProductctgRels = orgProductctgRels;
    }

    public Set getProductcategoryAppendixes() {
        return this.productcategoryAppendixes;
    }
    
    public void setProductcategoryAppendixes(Set productcategoryAppendixes) {
        this.productcategoryAppendixes = productcategoryAppendixes;
    }

    public Set getExhibitionProductcategoryRels() {
        return this.exhibitionProductcategoryRels;
    }
    
    public void setExhibitionProductcategoryRels(Set exhibitionProductcategoryRels) {
        this.exhibitionProductcategoryRels = exhibitionProductcategoryRels;
    }
   








}